/**
 * 
 */
package TeachPractice;

/**
 * @author Jiang Zhiyan
 *
 * 2021年4月21日 下午9:45:43
 */
public class TeachResult {
 public static void main(String[] args) {
		/*
		 * TeachCircle circle= new TeachCircle(2); circle.r=2; double
		 * c1=circle.getArea(); System.out.println("圆的半径："+circle.r+"  圆的面积："+c1);
		 */
      Circle c1=new Circle(2,1,2);
      double p1=c1.S(3);
      System.out.println(p1); //圆面积
     boolean j=c1.judge(1, 0, 2); //判断点是否圆内
      System.out.println(j);
      System.out.println("---");
      
      TeachCircle c2=new TeachCircle();
      double s1 =c2.S(1);
      //快捷键：ctrl+2，l
      Point p2=new Point(1,1);
      boolean j1=contain(p2);
//      c2.location=p2.x;
      System.out.println(s1+" "+j1+" Point的location值："+c2.location);
       
 }

/**
 * @param p2
 * @return
 */
private static boolean contain(Point p2) {
	// TODO Auto-generated method stub
	return false;
}
}
